DTSToDateTime (DateTimeString)

Basic and Crystal syntax.

Arguments

DateTimeString is a string including a date and a Time value.

Returns

DateTime value

Action

Evaluates the string specified and returns a DateTime data type.

Examples

DTSToDateTime ("2000/01/13 11:30:15")

Returns the Date value, January 13, 2000 11:30:15 am. The month must be entered as 01 rather than just 1.

Comments

For new formulas, use the CDateTime or DateTimeValue functions instead of DTSToDateTime. The CDateTime and DateTimeValue functions are able to convert more types of strings.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com